#ifndef _RECTANGEL_H_
#define _RECTANGEL_H_
#include "..\Study0701\Point.h"

class Rectangle :private Point
{
public:
	void initRectangle(float xx, float yy, float ww, float hh)
	{
		initPoint(xx, yy);
		w = ww;
		h = hh;
	}
	void move(float xx, float yy)
	{
		Point::move(xx, yy);
	}
	float getX() const
	{
		return Point::getX();
	}
	float getY() const
	{
		return Point::getY();
	}
	float getW() const
	{
		return w;
	}
	float getH() const
	{
		return h;
	}
private:
	float w, h;
};
#endif
